package restlike.shoreditch

import im.mange.shoreditch.api.{Out, In, Parameters, Action}

case object RunTest extends Action {
  override val parameters = Parameters(List(In("id", None, Nil)), Some(Out("tr"))) //TODO: we could list all the tr id/descriptions in id options

  override def run(in: List[In]) = {
    //schedule run and get the tr id back ...
    success(Some("tr"))
  }
}
